package com.yehun.enums;
/**
 * 手机号码类型
 * Created by Genius on 2017/5/8 0008.
 */
public enum CellTypeEnum implements BaseEnum<Integer> {

    Mobile(0, "移动"),
    Unicom(1, "联通"),
    Telecom(2, "电信"),
    Unknown(3, "未知");


    private Integer value;
    private String text;
    CellTypeEnum(Integer value, String text) {
        this.value = value;
        this.text = text;
    }


    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getText() {
        return text;
    }

    @Override
    public String toString() {
        return value.toString();
    }
}
